home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
BBS
/
MUBBS
/
MUBBS etc.cpt
/
Module Source
/
E-mail
/
Email.h
< prev
next >
Wrap
Text File
|
1991-11-16
|
3KB
|
61 lines
#define UNREAD 0
#define READ 1
#define DELETED 2
#define MAXEMAIL 25
#define pause() {if(!cmd1("(PAUSE)")) goto byebye;send("]");}
typedef struct MsgStruct{
char FromUser[36]; /* The person who sent the message */
char ToUser[36]; /* The person the message is to */
char title[71]; /* The title of the message */
int status; /* 0 = unread 1 = Read 2 = deleted */
char NetAddress[21]; /* Fidonet address of the ToUser(UNUSED) */
char reserved1[21]; /* Reserved, do not use */
char reserved2[21]; /* Reserved, do not use */
long int offset; /* Offset of the message in Email.Text */
int length; /* Length of message in chars */
char DateSent[26]; /* String of Date/Time sent */
char temp[6];
};
typedef struct FixStruct{
long int offset; /* Offset of the message in Email.Text */
int length; /* Length of message in chars */
};
typedef struct EnterStruct{
char FromUser[36]; /* The person who sent the message */
char ToUser[36]; /* The person the message is to */
char title[71]; /* The title of the message */
int status; /* 0 = unread 1 = Read 2 = deleted */
char NetAddress[21]; /* Fidonet address of the ToUser(UNUSED) */
char reserved1[21]; /* Reserved, do not use */
char reserved2[21]; /* Reserved, do not use */
long int offset; /* Offset of the message in Email.Text */
int length; /* Length of message in chars */
char DateSent[26]; /* String of Date/Time sent */
char emailtext[51][82]; /* The text of the email message */
int numlines; /* */
int result; /* Result to pass back */
};
typedef struct LoadStruct{
long int i_headers[MAXEMAIL];
char FromUser[MAXEMAIL][36];
char title[MAXEMAIL][71];
int status[MAXEMAIL];
char NetAddress[MAXEMAIL][21];
char reserved1[MAXEMAIL][21];
char reserved2[MAXEMAIL][21];
long int offset[MAXEMAIL];
int length[MAXEMAIL];
char DateSent[MAXEMAIL][26];
int reservedint1;
int reservedint2;
int choice;
int numemail;
int result;
};